package com.haoan.index.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haoan.common.annotation.Excel;
import com.haoan.index.base.BaseEntity;

/**
 * 业务对象 lc_business
 *
 * @author autoGen
 * @date 2025-03-21
 */
@Data
@Schema(description = "业务")
@TableName("lc_business")
public class LcBusiness extends BaseEntity implements Serializable
        {
private static final long serialVersionUID=1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "PK_lc_business")
    @ApiParam(name = "id",value = "PK_lc_business")
    private Long id;

    /** 业务名称 */
    @Schema(description = "业务-业务名称")
    @ApiParam(name = "name",value = "业务-业务名称")
    @Excel(name = "业务名称")
    @TableField(value = "`name`")
    private String name;

    /** 业务介绍 */
    @Schema(description = "业务-业务介绍")
    @ApiParam(name = "introduce",value = "业务-业务介绍")
    @Excel(name = "业务介绍")
    @TableField(value = "`introduce`")
    private String introduce;

    /** 业务图标 */
    @Schema(description = "业务-业务图标")
    @ApiParam(name = "image",value = "业务-业务图标")
    @Excel(name = "业务图标")
    @TableField(value = "`image`")
    private String image;

    /** 业务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "业务-业务开始时间")
    @ApiParam(name = "time",value = "业务-业务开始时间")
    @Excel(name = "业务开始时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "`time`")
    private Date time;


}

